/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

.wpcf7-list-item {
    display: block;
}

/* custom style for donate button*/
#menu-item-69 a span {color: #fff; background-color: #ff2a13; padding: 7px 14px; border-radius: 3px; margin-top: -7px; text-transform: uppercase;}

/*move accent line for current nav item*/
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
    box-shadow: inset 0 -4px 0 0 #ff2a13;
}


.x-widgetbar {
    top: 46px;
}
.x-btn-widgetbar	{
	display:none;	
}
.widget_text .h-widget:before{display:none;}

.white {color: white !important;}

a:focus {
    outline: none !important;
}

/* volunteer form headings */
.BBFormContainer[data-bbox-part-id="48222b43-f568-4e11-ac86-b287359ca293"] .BBFormSectionHeading 	{
	color:#ff2a13 !important;
}

/* contact form7 */
.wpcf7-not-valid-tip	{
	color:#ff2a13 ;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input	{
	margin-bottom:0;	
}
.x-accordion-heading .x-accordion-toggle.collapsed:before {
    color: #ff2a13;
}
.x-accordion-inner h5{font-size:130%}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin: 0.65em 0 0.2em;
}

h2 a,
h3 a,
h4 a,
h5 a {color:#ff2a13 !important;}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 300 !important;
}
h2, .h2, h3, .h3 {
    font-weight: 300 !important;
}


.x-callout h2,
h4.x-feature-box-title,
.h4.x-feature-box-title,
h4.h-widget,
.h4.h-widget,
.x-promo-content h4,
x-promo-content .h4,
.x-promo-content h3,
x-promo-content .h3 {
	font-weight: 400 !important;
}

.rev_slider h2,
.rev_slider h3,
.rev_slider h4,
h3.accent,
.h3.accent {
	font-weight: 400 !important;
}

body.category h2 a,
body.category h3 a,
body.category h4 a,
body.category h5 a {color:#3f3f3f !important;}

body.category h2 a:hover,
body.category h3 a:hover,
body.category h4 a:hover,
body.category h5 a:hover {color:#ff2a13 !important;}

/*Control Breadcrumb Visibility*/
body.page .x-breadcrumb-wrap,
body.page-parent .x-breadcrumb-wrap,
body.page.category .x-breadcrumb-wrap {display: none;}
body.page.page-child .x-breadcrumb-wrap,
body.page.page-parent.page-child .x-breadcrumb-wrap {display: block;}

.x-promo-content h2,
.x-promo-content h3,
.x-promo-content h4 {margin-top: 5px;}

.x-column.basic-right-col {padding: 50px 0px 0px !important;}

@media (min-width: 768px){
	.x-column.basic-right-col {padding: 100px 0px 0px !important;}
}

.bod .x-1-5 span {font-size:18px}
.entry-header, .entry-content h4 {margin-top: 10px;}

.x-tab-content h4,
.x-tab-content h5,
.x-tab-content h6{margin-top: 0px !important;}

.family-giving h5 {margin-top: 0;}
.family-giving .giving-block img {padding: 10px 75px;}

li.tp-revslider-slidesli h1	{
	font-family: "Lato",sans-serif !important;
	color:#FFF !important;	
	font-size:50px;
	line-height:54px;
}
li.tp-revslider-slidesli h2	{
	font-family: "Lato",sans-serif !important;
	color:#FFF !important;	
	font-size:40px;
	line-height:44px;	
	margin-bottom:20px;	
}

/*Hide promo image in safari, when there is none. Case-by-case*/
.uncch-promo .x-promo-image-wrap {display:none;}


/*Control Revolution Slider*/
.rmh-text-container {width:60%; padding: 20px; margin-top:40px;}
.rmh-text-container a,
.rmh-text-container a:hover {color:white; margin: 20px 0;}
.rmh-text-container h1,
.rmh-text-container h2,
.rmh-text-container h3,
.rmh-text-container h4 {color: white !important; line-height:96% !important;}
.rmh-text-container h2 {font-size: 45px !important;}
.rmh-text-container h3 {font-size: 25px !important;}
.rmh-text-container h1.dark,
.rmh-text-container h2.dark,
.rmh-text-container h3.dark{color: #3f3f3f !important;}

@media (max-width: 768px){
	.rmh-text-container {margin:10px 0 0 10px;}
	.rmh-text-container h2 {font-size: 20px !important;}
	.rmh-text-container h3 {font-size: 12px !important;}
}
@media (max-width: 1028px){
	.x-navbar .desktop .x-nav > li > a {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}



/*Adjust Nav for smaller screen sizes*/
@media (max-width: 980px){
	.x-brand img {width:220px !important;}
	.x-brand {margin-top: 25px !important;}
}
@media (min-width:980px) and (max-width: 1024px){
	.x-brand {margin-top: 28px !important;}
	.x-brand img {width:200px !important;}
	.x-navbar .desktop .x-nav > li > a {font-size: 12px !important;}
}
@media (min-width:1024px) and (max-width: 1170px){
	.x-brand {margin-top: 18px !important;}
	.x-brand img {width:250px !important;}
	.x-navbar .desktop .x-nav > li > a {font-size: 12px !important;}
}
@media (min-width:1170px){
	.x-brand {margin-top: 16px !important;}
	.x-brand img {width:270px !important;}
}



/*Adust Typography across screen sizes*/

h1, .h1 {font-size: 400%;}
h2, .h2 {font-size: 285.7%;}
h3, .h3 {font-size: 228.5%;}
h4, .h4 {font-size: 171.4%;}

@media (max-width: 768px){
	h1, .h1 {font-size: 200%;}
	h2, .h2 {font-size: 160%;}
	h3, .h3 {font-size: 140%;}
	h4, .h4 {font-size: 115%;}
}


/*Misc Mobile Adjustments*/
@media (max-width: 768px){
	.give-hope {background-image: none !important;}
}
